<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script type="text/javascript" src="<?php echo base_url("theme/js");?>/jquery-1.7.2.min.js"></script>
<!-- <script type="text/javascript" src="<?php echo base_url("theme/js");?>/admin.js"></script> -->
<link type="text/css" rel="stylesheet" href="<?php echo base_url("theme");?>/reset.css" media="screen" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url("theme");?>/admin.css" media="screen" />

<script type="text/javascript" src="<?php echo base_url("theme/colorbox");?>/jquery.colorbox.js"></script>
<link type="text/css" rel="stylesheet" href="<?php echo base_url("theme/colorbox");?>/colorbox.css" media="screen" />

<script type="text/javascript" src="<?php echo base_url("nicEdit");?>/nicEdit.js"></script>
    
    
    <script type="text/javascript">
//jQuery(function(){
//		  jQuery(".edit").colorbox({iframe:true, width:"800px", height:"90%"});
//		  });
			
</script>
<title>上海锐影摄影工作室</title>
</head>

<body>

    <div class="header">
        <?php
        
         isLogin();
        
        print_r($_SESSION);
        ?>
    	网站名称 | admin | <a href="<?php
  echo site_url("admin/admin/logout");
        
        ?>">退出</a> | 查看网站
    </div>
    
    <div class="container clearFix">
    	<div class="sideBar">
        	<dl>
            	<?php
                	$cur = $this->uri->segment(2, 0);
					
					$menu_arr = array(
									  'index'=>'控制台',
									  'menu_manag'=>'网站导航',
									  'person_manag'=>'团队成员',
									  'video_manag'=>'视频管理',
									  'upVideo_manag'=>'添加视频分类',
									  'photo_manag'=>'图片管理',
									  'upPhotos_manag'=>'上传图片',
									  'links_manag'=>'友情链接管理',
									  'basic_manag'=>'网站设置',
									  'fap'=>'帮助中心',
									  );
					foreach($menu_arr as $key=>$val){
						if($cur == $key){$current = 'current';}else{$current = 'm';}
						echo '<dt class="'.$current.'">'.anchor('admin/'.$key,$val,array('title'=>$val)).'</dt>';
						
					}
				?>

            </dl>
        </div>
        
    	<div class="rightBox">
        	<!-- header -->
